package com.qingke.java.test0829;

public abstract class Staff {
	private String jobNumber;
	private String name;
	private int age;
	
	public Staff(String jobNumber,String name,int age) {
		this.jobNumber = jobNumber;
		this.name = name;
		this.age = age;
	}
	
	public String getJobNumber() {
		return jobNumber;
	}
	public void setJobNumber(String jobNumber) {
		this.jobNumber = jobNumber;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	public abstract void work();
	
}
